//package com.xyzh.stj.web.controller;
//
//
//import com.xyzh.stj.web.entity.UserOrganizationEntity;
//import com.xyzh.stj.web.service.UserOrganizationService;
//import com.xyzh.stj.web.service.impl.UserOrganizationServiceImpl;
//import com.xyzh.application.common.util.ResultHelper;
//import com.xyzh.application.config.log.LogRecord;
//import com.xyzh.application.config.log.OperateEnum;
//import io.swagger.annotations.ApiOperation;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.*;
//import io.swagger.annotations.Api;
//import com.xyzh.application.base.controller.BasicController;
//
//import java.util.List;
//
///**
// * <p>
// * 用户机构表 前端控制器
// * </p>
// *
// * @author @JZB
// * @since 2023-10-29
// */
//@Api(tags = "用户机构表模块")
//@RestController
//@RequestMapping("/user-organization")
//public class UserOrganizationController extends BasicController<UserOrganizationServiceImpl, UserOrganizationEntity> {
//
//    @Autowired
//    private UserOrganizationService userOrganizationService;
//
//    @ApiOperation("添加用户机构")
//    @PostMapping("/addUserOrgs/{userId}")
//    @LogRecord(appName = "安居后台", logType = 2, category = "", bizNo = "userinfo", content = "'查询登录用户详情,操作结果编码:'+#r.code+',操作结果:'+#r.message", model = "系统管理-用户管理", operateEnum = OperateEnum.SELECT)
//    public ResultHelper addUserOrgs(@PathVariable("userId") String userId, @RequestBody List<String> orgs) {
//
//        return ResultHelper.succeed(userOrganizationService.addOrganizations(userId, orgs));
//    }
//}
//
